package cn.lingyangwl.agile.common.core.exception;

import cn.lingyangwl.framework.tool.core.exception.BaseError;
import cn.lingyangwl.framework.tool.core.exception.BaseException;

/**
 * @author shenguangyang
 */
public class PreAuthorizeException extends BaseException {
    public PreAuthorizeException() {
        this.code = 403;
        this.message = "您没有权限访问该资源, 请联系管理员!!!";
    }

    public PreAuthorizeException(Integer code, String message) {
        super(code, message);
    }

    public PreAuthorizeException(String message) {
        super(message);
    }

    public PreAuthorizeException(BaseError baseError) {
        super(baseError);
    }

}
